Added basic task engine to run a single sync task at a time