makerom: misc
makerom: refactoring

refactor exheader/rsf code