adding a function reference table to the symbol table + necessary methods