config class and pimple container in main app