Created database and tables