reorder routes
cleanup gemfile
enable threadsafe mode