Restructured packages, fixed Eclipse errors, and modified .gitignore to ignore *.java~ files.