it looks like I found the correct way of implementing the structure with globals.
replaced all pedencies on globals to functions. At least for the fusor.

However for the table this remains and also the declaration of the fusor and tables are still not correct.
commit with the enviroment