Lots of refactoring, changed the DatabaseAccess and made the ResponseMessages into an abstract class to be extended for various servlets.