implement SoilMod plugin functionality

global.lua is no longer needed.
Functionality without SoilMod is given and tested.
SoilMod plugin-init returns error in log!