Implemented basic syncing of remote objects

maybe not the best idea, it has been copied here from bsa-website