Added support for built-in functions
Fixed vars in REPL and added debug mode