made controller object, more mvc based; added properties to point object