changed routes to use multiple preprocessors so we can simplify the code.
changed routes to use multiple preprocessors so we can simplify the code.

Solid-Interactive/grasshopper-api-js,Solid-Interactive/grasshopper-api-js