Added SyncLogic component and implemented basic thread control