Added read vendor dir form composer.json. Removed methods to set and get vendor dir.