Dividing ast_core into a package.