slight refactoring, renaming

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>
updated the license

and abit of the itemdata tostring method

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>