Changes to facilitate applying base class to existing dataset (removes unique contsraint on order field, adds management command).