created initial database and a database class for crud
merging claudes recent work with mine