Add injectable logging
Merge pull request #6 from throughnothing/logger

Add injectable logging
Handle kill signals gracefully