more fine grained import statements, factored out table module (for table_index), also created lexer stream module