Add Locations API and tests

implemented Location endpoints with tests.

@jjmerino - same as my previous comment.  Can you change the method name?