Add point class and unit test for it