extract process_search and process_issues functions
Merge pull request #16 from fs/functions-in-fs-gh

Extract process_search and process_issues functions