Move exceptions to separeate file.
Merge pull request #6 from stevenosborne-wf/move_exceptions

Move exceptions to separate file.