Add Location model and tests

references #1