Added basic CRUD functionality for locations via REST API.