Refactor App.hs.
Remove unused pragmas.
Merge pull request #34 from asi1024/refactor-app

Refactor App.hs.