A simple spam detector class