refactoring of trax into multi module