trim commandline input

hit a problem where a newline was appended to the end of apiSecret
let's make routes all async
Renames to make controller more general
start accepting parameters in routes
Add character details page