Added an exception resolver.
Tidy up the pom file.
Re-factored logging aspect.