first pass of adding auto-atlasing capabilities
refactored a lil bit
reatlasing finition