reflection update

updated reflection, now populates objects based on ast.