NData and SQL update

Added syncing to SQLite DB and almost done with NData