Mock code to represent new Resources

Same idea as #421, but different — this is a controller, not a model.
So I disagree with this being dependency injection; it's really just a bag of params and other request-related information to read, rather than something that does useful work (typically what DI is used for).

Let's split this conversation to #552.