adds mock to test requirements
first version of request parsing and handling

handling still not finished, it doesn't repass parameters to the handler
function as it should and doesn't accepts registration of paths with
regex or other parameters passing solutions.