add nodeserver class to manage server