Refactor Cosa/IR; move to drivers directory.
Refactoring include guard; use standard notation.