Restructured saving csv into database to accommodate model change and
added remaining functionality.
Merge pull request #10 from TFaga/master

Added remaining functionality for saving csv to database and accommodate model changes