Merge custom nodes implementations

Conflicts between two implementations were resolved. Server-independent implementation was used as the base. Command to send custom nodes to Dynamo server was added. I'll provide more comments inline.
It's similar to functionId.