Improved code commenting and started to implement LoopInterface
Added the implementtation of the LoopInterface