Added content ui factory which draws content