DST institutes key drivers in Aditya-L1 mission: Design primary payload, first automated algorithm to detect CMEs