Implement batch creation of location in the frontend (and tweak the backend to play nice)