Moved all JSON to geoJSON stuff to the model, renamed index to uploadHandler since all it does now is handle uploads and convert them to JSON