Added better error handler, a test for it, and made it version 1.0.0