Initial work setting up database