First set up of data, token parser and element struct.