#58: Move exceptions to errors module.

Fixed broken example.
#66: Cleanup PEP8 issues.