Create cmake file and remove unnecessary imports from synctask