Started refactoring but now need lxml which is not compiling on this machine.