removed messagehandler from commandhandler, changed to string references and added using namespaces to make code look more clean in .cc file