Added writer module to expose some functionality