Small readme update.
Fixed pretty exceptions.
DI behaviour refactoring.
phpcs fixes.