TermDAO created, exception handling, subject and term retrieving in Preferences controller done