add Havlak
some fixes
Now port from dart works like java implementation.
Files/classes from java-port except LoopTesterApp.kt was replaced by classes from dart-port.