Removing unused libs, external libraries should be added via composer, in the composer.json file.