restructured file tree, debugged for sinatra app