Move responsibility for checking if module xml exists
Add pretty-xml dependancy
Generate config xml with blocks and models