Create a database connection when creating the controller.