restacular TODO: create interface for a Resource as defined in the gist add routes to the router from a resource object (use https://github.com/julienschmidt/httprouter probably)