Changed the texture api
Major download and api improvements