added basic framework for web server
modified URL rule to pass all characters to method, to facilitate JSON error handling and not just a 404 HTTP error
added tests and code for handling non-integer input