added Deployment and Node subclass