completed location API for now, added location API calls to the location test binary