Add locations resource

Includes tests

This is my first open source pull request, so please let me know if there's anything I missed!