Removed unused view.
Changed views to use local variables instead of global variables.
Removed unused view.
Split out helpers and configure from main Sinatra file. Changed global variables to local variables. Changed how nil and empty parameters are checked.