created index.html and refactored server.rb