fixed register file for mini-io board, added new register type Direction with tests