Sinatra/MongoDB based web API for storage of files based on geolocation data