ExcelWriter temp :)
created abstract class for excel writer
Pass data from controller to ExcelWriter