Clean up parser
Add response constructor
Refactor basic server request handling architecture; update tests