Add licence and remove extraneous dependency