added license and copyright header to source files. fixes #30.