migration from a mixture project to sinatra