Moved repository class to repository namespace