add brainware src file io and tests
add brainware dam file io and tests