Configured the Database