Maybe fixed inventory render issue, added comments
Added auto-gen config files for modules and module number values
Made config file more robust, thanks to bdew
Merging api changes