add RPoint Class. fully realization