added synctask base and junit testing