still working
types table more or less working. Now only need to think how to generalize
it better
Some problem arises on repeated class dialog invocation