Refactored texture export code to texture_export. Breaks the build
currently as uv_layers not connected back into code. Also updated
variable names to use conventions.