add query all method to abstract dao, return all list in main.py