Fixed composer.json syntax error.
Fixed the init functionality.