Fix factory for creating deeper structures
Fix queue implementation, downloading files >2GB