Add licence, fix setup.