add quad and cube demo for core