move some elf related files from __init__ to elf module