Made the database accessible throughout the application.