Removed the slice function from MigCSV and removed the getAutocomp function from main. Broken down read and write file in two separate functions and calling them in dispatch using a monad.
Removed the 'catch' dispatch function, now writing error message in dispatch itself.
Using a monad in main.
Moved all the 'mig' code into the dispatch part, still not using monads.