engine, sync

Added Engine, time control, sync checking.