Starting work on the texture manager