Worked on transactions handling
Close DBs on server shutdown
Fully working transactions when putting a file/dir