todo app with sinatra and mysql