Replaces puts statements, removoes unncessary code and comments, corrects variables names in atom feed, corrects formating mistakes, refines structure of code