moved the operator<<'s into a header where they were more accessible.  moved the dx variable to the app class.  moved the reduce cl code to the common file.