Most of this code is from @Zuxelus 's 1.7.2 code. This mod still crashes
on startup, however I think it is a buildcraft issue.