Wired up database connectivity to the application.