made some automatic optimizations + changed the jdk version to 1.8