Add licence, fix typos