add composer.lock and fix composer.json component