LP: first version; add some code and the databases; TODO: voting method in filters.r to cut of using a threshold;