Write proper constructors for NJInput and subclasses. Rename base to parent to match...