refactoring in Tmnx.Server/Tmx.Client