Started a logging class. Will be useful for debugging. Early stage of
concept.