added file parsing, inventory, messages