Added some pointgen and point class