Currently, query functions are included in `main` package. It is not good design... So, I will create new package for query functions.