tested & implemented functionality to verify values for duplicates when not just creating, but also updating the module; also, greatly refactored & DRYed up deleteModule & updateModule