Adding writer to Dom4jHelper for initial initialization, moving methods from DummyDAO to a real one.