Started to add class to handle save & restore session to sqlite database