Using YML config instead of PHP