still refactoring
added support for PHP-Error
added support for Di
more to be added soon