Changed Domain specific code to call domain specific model methods.

- Changed Add/Edit/Delete specific code to use Domain specific methods calls.
- Changed code that sets priority order of all domains to call model method that save priorites of domains.

@dclarizio @mkanoor please review/test.