Move viewer promise to landos main module