Add licence information and docs