added licence closes #21