migrate to ruby sinatra