Simplify and clean lookup generator
Extract and test tree operations
Fully working regular expressions