synced tasks with sinatra-mvc