Add ability to set routes for different request methods

Don't forget about new lines at the end of new files. Simplifies merges when two commits are adding changes to the end of the same file.