Basic texturing

Miker review new version of code.