Add application

Still in progress (and will be for a while, this being a personal
project with limited time), but the basics are working.