Item system dev

Rewrite of internal item parsing.