Add copyright and license headers

Fix #300