First implementation of the Repository