added publisher and started modularizing the map points