added sqlbuilder and database class and started adding some functionality to the menu