create a template java class/project in directory