add location endpoint support

this resolves #5