Add license.

Fixes #1.
Add repo url to header comments
Remove unused code

It was leftover from a refactoring, $sampledData is not used anywhere
else.
Merge add-license (#3) into master

Add license.

Fixes #1.