add support to composer
fix composer.json - now is valid
fix target dir of composer