Added basic model uploading code to sinatra