Added licence details to source files

Fixes #9