refactor top topic service structure