changing variable names from filters to primaryFilters
more filter tab work

modularizing filter template and model into their own files.
adding date filtering functionality.
also adding underscore library.