created simple parser and response mechanism