Use exceptions instead of sys.exit
Use our own exception
Use single quotes instead of double ones whenever possible