reorganized project structure for java and python