Refactoring of CURE; Added comments for module 'cure'