[rhsassembler] split into sep compile unit, remove never called methods