Set up database file and created database