code: def from_api(cls, api):
          
          ux = TodoUX(api)
          from .pseudorpc import PseudoRpc
  
          rpc = PseudoRpc(api)
  
          return cls({ViaAPI: api, ViaUX: ux, ViaRPC: rpc})
docs: create an application description for the todo app,
          that based on the api can use either tha api or the ux for interaction