Made a new class App which uses kivy to build a gui, and changed the Composer class to a function.