Implementation of location.
Tests for location classes.