Location domain, repository and tests

Signed-off-by: markuslamm <markus.lamm@googlemail.com>