pull out stuff from centraldatabasedao to prepare better logging.
remove centraldao completely