Updated main class for Bukkit.