Refactoring. Renamed instance variables
Test refactoring
Added ability to pass records and filters inside the constructor