refactor helper methods for colouring comments into their own class
generalize the comment class