Added a more consistent resource loading system

Also moved a bunch of stuff to R2DFileUtility