added libraries and updated the database cofig file