add a function to create new node (client side)
using an API for docker
adding handler for new node