complicated repository file structure