Added autoloading function in composer.json.z