Fixing composer file license
Fixing problems found by analysis