Various changes to Literal class children and refactoring of Scanner to
utilize the Literal child classes.