TODO: store itemtypes externally