New heca cmd line, code refactorings, mrs' memory overlapping check