creating the database tables