A Collaborative Architecture for Distributed Intrusion Detection System based on Lightweight Modules