Query generator and wrapper for Silex projects