Added Representation and Retriever classes