Template code for snippets app
Added write logic with debugging statements.
Added basic command line argument parser.
Updated argument parsing interface
Updated main to use new interface.
Updated log.