Add pub/sub system - rpc remote call - renaming variables - better debug messages