added SKControl class and implemented control state