CLSN-222 Config : Convert 'Add hierarchy' and 'Edit hierarchy' js into model.js, also implement 'cs-field' into it's HTML.