Refactoring

  -- Main module refactoring
  -- Added mandatory flag for output file
  -- Added module Loader for handling all errors in one point
  -- Haddock Documentation