Refactors views helpers to utils, further views cleanup.