Work on inventories

- Added scr_defines to define global constants
- Added scripts and objects for creating necessary data structures