Include some header files
Remove commented dummy functions
Define Writer