adding sinatra for localhost connection
removing unused methods