Fixed mainClass definition in app.