initialized app
making the buttons do all the work