Added a controller

I added a controller to make this app even more complicated :)