A better API for making bukkit plugins