add full support for built-in functions and basic support for TODO.