Point class definition