Using some of the command line parsing and option features of the snap framework as well as a Stub for some AppState that can get passed around the app