Fixes creation of remote node

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