Continued texture2d and textureloader
Added texture2d implementation