Fixes creation of remote node

Fixes the constructor of the Remote class, can be instantiated without raising an error.

* fixed use of `self` instead of `this`
* parent constructor is called to set up the class correctly