Backend changes:

- Added aggregate locations
- Changed some names
- Fixed some small errors in types and index