Add filtering, fix save interface
Fix debugging of queries
Change sqlize protocol