Refactor kivy app structure