Added sqlite support for persistent data.