changed the stateless case classes to case objects, so that there is only ever one instance floating around