Use native BungeeCord configuration API (and some refactoring)