Removed state machine. Added thread manager