Included logic from Blink project.
Refactored to introduce an abstraction from file writing.
Added a cache publisher