Added inventory stuff.
Merge pull request #86 from EntityReborn/master

Added inv stuffs to support an extension.