@Override
	public void onEnable()
	{
		plugin = this;
		cmdManager = new CommandManager(this);
		listenerManager = new ListenerManager(this);
		loadKits = new LoadKits(this);
		
		configFile = new File(getDataFolder().getAbsolutePath()+"/config.yml");
		voteKits = new File(getDataFolder().getAbsolutePath()+"/kits.yml");
		
		if(!configFile.exists())
		{
			firstRun();
		}
		
		YamlConfiguration pluginYML = YamlConfiguration.loadConfiguration(this.getResource("plugin.yml"));
		if(!pluginYML.getString("config-version").equals(getConfig().getString("config-version")))
		{
			logger.warning("[Vote Redeemer] Config Version does not match.");
		}
		
		cmdManager.initCommands();
		listenerManager.initListeners();
		
		loadKits.load();
		
		PluginDescriptionFile pdfFile = this.getDescription();
		this.logger.info(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled.");
	}