Various edits
Converted call_grep to a function, as opposed to a class method
Split up various functions and classes to separate files