revised TwsApi hierarchy