Added java-stuff for handling genomes