added missing imports
Added stubs for api. Adapter uses stub by default. Use proxy command to point other instances.