fix namespace
add writeCSV method
serialized CSV of entry model will be written into a directory that
is specified by "csv_path" field of "config.json"
add gitkeep for csv directory
add an third argument for email attachment