Split the util functions into genericService class. Add all Karma unit tests. Complete 'show' and 'hint' functions on revise page.