breaks up ccsd.cc into 3 smaller files.  also adds some changes made to the development branch a while ago