Implement garbage collection and improve log categories
Merge pull request #9 from codemix/garbage-collection

Implement garbage collection and improve log categories