Use a Scope object for functions
Build function table when entering new block to allow inner functions!