Added basic Logging system