replaced everything with sinatra app