Encapsulate SQL statements and refactor Save functions as transactionable.
User persistence to sqlite.