Added compsoer dependencies and for autoloader plus other changes