Updated project to Java 8