Created Sinatra file for JSON post requests