minor changes
improved infrastructure implementation

- added support of agents keep-alive, agents group-id