Improve handling of parsed variables. Improve valus parsing. Correct imports.
Remove AST-based code.