Adding slimframework for api