Added the eclipse plugin to the build script, so if you want to use eclipse it is much easier to import now.
Removing unused imports and variables, as well as indentation correction