Refactored mod integration.
Added Forestry integration.