Setup different scopes for classes and organized AST package into subpackages.