Split composer.json into module and project files, added under lib dir to avoid dependancy resolution adding dependancies in wrong place, included composer.phar in module