update to use meld_sequence_files
lots of updates and fixes.
added some documentation, cleaned up some code
fixed a bug