The resource loader are now moved from the texture2d file into its own class file.