Switcher to kotlin. Just the structure working for now