create maven-style dir structure and java class