Adding Database classes for inserting and selecting data