Now tDiary can work on Sinatra framework