created abstract class for excel writer