Refactoring to support creation of separate bukkit and bungee plugins. Initial work on bungee plugin.