Added UITexture, started commenting and cleaning code