Added SQLite database to persistently store events and session. asks user for new address to sync from if it fails to update