Added doctrine/dbal
Refactoring
Used doctrine/dbal
Fixed indentation