Updated so Database credentials now read from XML, stored in Database class.