Initial commit of loop lib and test (singular).
Initial README update.
Added onrender function and associated documentation.