Started implementing TextureFactory and updated some comments.