refactor silex to use composer