Kotlin utilities

Kotlin utility classes based on Scala