Fix autoloading via composer. Construct Doctrine using Symfony container.