Base structure for repository adapters, continue main development