Upgrade project to java 8