added CommandLoader helper class for writing plugins #326