add handling of output file to write CSV data
Add make file
Code format