Move Texture class to sys module