Implement logging - Addresses Issue #8