Create a class hierarchy to represent values stored