Creating the database objects