Created Value class so that variables can be placed into the scene graph.