fixed main class so that the app can start

Tristan, how does this look.