created ContentFactory and constants