MIT/BSD version of code from googlecode before Mark E breanched to new repository and GPL non commercial license