Changed some stuff for java 8
Changed some maven dependencies