pulled inventory code into its own subpackage. changed rest of simid handling to []byte