Added more query functions and methods for recreating database and inserting sample data.