added ioc possibility to constructor
composer json update