Add exceptions class, move hector to _hector