Added CREATE TABLE commands to store database structure
Improved documentation. Changed database structure to use same naming
convention as other parts of code (entryDate -> entry_date).
Added comments to plotting