Implement licenses (wip)