Refactor in preparation for sending notifications

* Extracts classes in order to make use of Dependency Injection and ease of testing
Merge pull request #12 from alphagov/refactor-in-preparation-for-sending-notifications

Refactor in preparation for sending notifications