Breaking String lexing into its own object