Creating a Kotlin class