created new file for outputting formats and removed unneeded method
migrated all contour_output code