Refactor warcraft/io
Refactor warcraft and warcraft/io errors