Update composer.json

add namespaces autoload and the target dir