mod: all state controller get their parent via constructor not init method.