Converted to maven, added a .gitignore and removed unused imports.