Initial repository implementation