Improved OpencgaManager. Not tested yet.
OpencgaAdapter: minor changes.