update to draw logic fsm

made the module independent of the object to be sketched.