Split logger and writer
Add static initialization section
Bump version