Convert the app classes to Kotlin (I'll then merge these to the 'kotlin-version' branch so create feature branch from that).