rewrite in silex and add vagrant