Moved stream element definition to header file to be able to create pointer element in lexer module