switch to mojolicious app

Awaiting on deis/deis#876 before this PR can be merged.