added new tinydb features cleaned comments