plugin pattern to load java files dynamically