Initial restructuring to use floodestimation

Initial restructuring to use flood estimation and current dev version of
wxpython.  Lots of work needed including saving/loading/editing cds.