Re-aranged functions and documented some
isData() function
isData()
removed command line options, and included automatic data/mc identification