Updated context
Major rework of the texture class.

Still more to be done though