AST Reducer

Starts to work properly