Filtering of reports
Refactoring part I
Refactoring part II: moved to own db.js file
Refactoring part III: moved out utils functions
release 0.7.0