Migration to Java 11

The migration from Java 1.8 to Java 11 just finished. Now we have a version 0.5.1 which has all the previous features and still works in the CI into a green status.