Make App Class Optional

Reduces the amount of boilerplate code. Added customApp example to show
how you can specify it, if you want.