Register Sinatra::RestAPI, remove erb statements from route blocks