Code formatted, some documentation

+ renaming method setViewForCreate to setViewForEditing