add java template for main class. add basic validation for transformr.