dropbox.storage: clean code and add comments