Added MessageSender, Spring configuration and some tests.