Repository for Factory Pattern implementation