Refactor Filter so that there can be multiple filter sets. There is stuff in session that needs to be removed. some docstrings.