Reduced db

### New feature
Implemented a script that creates a new data base using a $\chi^2$-cut-off and usual sql selection statements. The resulting database can be much smaller and easier to handle for analysis.