clean up of code & save values of fields to database file using csv style formatting
Merge pull request #2 from a-l-d/master

clean up of code & save values of fields to database file using csv styl...