Complete rewrite

nms terminal object creation