moved the css to a style.css file and added comments.
modified the script to accept group_source array function, updated readme
added an example for the changes made.