Re-instated message handlers

TODO: write tests for Candidate Repository, Look into abstracting the message handers in order to allow easy (plug and play) extensions