add the main directory
move java source to the main directory