put .java files in appropiate packages