move java sources to src/java
move UncheckedIOException to file of its own; suppress some warnings