refactor
Changing to SQLite-based, 'total' is done.
Merge
Changed to SQLite-based
Computing previous phase sum error fixed
.swp file added into .gitignore
Based on SQLite for now