Mod update 0.9 part 1

Part 1 of the massive update, commit made to allow the mod to be built
on CoC 0.9.