Synchro ext

Fix bug and implements export to db (lack of files, more to come)