add license info
Merge pull request #8 from SmashCoders/license

add license info
cleanup unused code in v1 which has been put into the v2 branch
Merge pull request #9 from SmashCoders/v1-0

cleanup unused code in v1 which has been put into the v2 branch