Logging implementation

Beginning to implement logging and alternate output abilities
throughout.