refactoring, added parsers and responders.