Many changes
Refactored code and made c_data a memmap. By default not saved to pickle
Git fixes