added FluxAPI/Rest class that should generate the routes within the silex app