Making it build with Java 7 and removed target directory by adding it to .gitignore and removing all members from repo