mv colors to constants & rm unused function groupPoints