Updated reference type and added license

Fixes #8