Comments refactor

Refactored comments class with almost 100% code coverage including sending emails.