Import Docfest extracted contents of loops into their own methods
Removed unneccesarry files.
Example code of refactoring pattern - extra contents of loop
minor
Docfest refactoring