Improve code of Arkref files, and integrate with BIUTEE