[ELF] Create baseclass for all ELF writers