Using 'Future' interface in service/agent creation

and update client 'doc' also using 'Future' interface