Logging

Adds new logging system and Resolves #15