Added database connection initialization.