Added a new loop class and modified the readme while adding license.