switch to sinatra
remove unused code