Changed name of ensembles server to node server. Added delegate methods and some credentials code.