Refactor reppresentation of Point objects through a base class and two
derivative classes.