added inital creation of db