lexer and scorer seperated into own files.