Update protocol for `interact` command.
Refine "interact" functionality into an action.

Also introduce 'EntityManager' class.