Added doc-blocks + lint both PHP files and try to validate XML markup
Add lazy-loader methods for DOMDocument instance used to validate XML files