Initial attempt at logging
Adds logging support
Adds logging