Add revisions table + fix some problems ans bugs