Changed IStorage interface, changed some upload logic

Also changed logic of StorageManager