Class per route+method

The critique I mentioned below also applies with `formResource` here. You should be as safe as possible when dealing with global variables so that you don't get bitten later.