refactor builtins to use a base environment

remove grammar for builtins except for exit->(),
add all builtin function types,
remove ASTNodes for builtins