add composer.json and early register on packagist