move buffer files into base Repo class
most part of repo syncing, unchecked