move stats to StatManager
ignore ninja ide  project file
add comments on methods
fix filter call
fix tests