Major changes to cdslib and cdscell.

Added first rev of reading an input file