todo web app with sinatra and mysql