using pimple for file logging, setting up post entity