refactor: s/blockFactory/viewFactory