Much cleaner, but not working, because I have a circular loop
I think I solved the deadlock of nested gen_server:call()s
working implementation of mnesia and ets based ezic.