Added task template and local sync class