Modified the main file SpamDetect