LPS-50049 Refactor portal-impl pt.3
LPS-50049 Source formatting