Removing unused imports
Ignoring the /bin directory
Making eclipse happy: adding some serialVersionIds, removing unused variables, avoiding deprecated methods, etc.