Client uses code send from server to create object

Signed-off-by: selmeci <roman.selmeci@infones.com>