fixing DI problems and starting to use Groovy's XmlSlurper to parse HTML