Added writer, fixed indentation and such
Fix writer examples