Moved webapp into index.rb