working sinatra app (sort of) and file restructure