Thanks for suggestion. I had tried different approach with and without modularization in order to compare both.
Although this has tie between module Server and UI but not unique.