added points and implemented basic map functions through it