Add product & inventory class and its test