added composition-based,read-only Representation class (Representation<T>), along with serialization and assoc tests