upgraded Slim to 2.4.*
first steps towards turning the flat controller files into controller classes