Creating the database and configuring the environment