refactored Points a bit, added documentation