Initial skeleton of app.{c,h}

The application is a concept that will deal with all of the user facing
application needs and will clean up the main.c (eventually).