The complete application.

This is the first major commit for this project.