Use Pimple instead of Core\Registry and add Monolog for logging