remove rubbish code
created ItemData to handle interaction between item and data

Signed-off-by: Chan Jun Wei <chanjunweimy@gmail.com>