add ViewFactory