refactored, create app/, move views/ and server.rb to app/