Application

Fixes #5.

/cc @kristopherjohnson, who did [related work](https://gist.github.com/kristopherjohnson/ed97acf0bbe0013df8af).