Add LoopProvider

Add LoopProvider - work in progress on making it work!