Wrap too long condition
Move search helper functions to helper module
Move filter naming function to helper module
Document methods