Configured dotenv and database connection