Rework infrastructure provider, add JavaDoc
More JavaDoc and Docs. Add XBuildExtension class.