Converting app from Slim to Silex