Grab parameters
Using Scalatra as a template