added initial classes for loop recording. Fixed a few typos.
added initial classes for loop recording. Fixed a few typos.