api for hub commitment.
connect and get / upsert entity refactoring.
adding api for thaali