LPS-48075 Make module independent of the portal