Added directory processing to java application. Cleaned up XSLProcessor a bit.