Introduce licence and lessen dependencies