Fixed various defects. Built out CC to make it work.