Modified the false to string and cleaned up a space
Add support for filtering by view
Abstracted utility functions out
Moved function out to a general place
Moved general function out
Added an inital state
Added a test for the new view filtering
Moved all the function into utility module a couple of renames