pep8 modifications
added license and make pep8 compatible
added grouping module and incremented version