Skeleton to develop a REST API with silex framework