Added onEnable() and onDisable()

Not compiled, pull from git to compile, then push binarys