Added some global error handling.

In the case of an error, all threads quit after finishing their
current file.
Starting the threads would be a useful step
Setting up parsing system
Setting up arg parsing using regex
Now I have two problems (debugging regex)
Switching to boost regex due to gcc's lack of support