fixed autoload and default IP

silex can't see provider if it in src that's why I moved it to root dir and you can't use `$this` in anonymous function so I replaced it with a string