Extend ResourceManager to support loading/saving any kind of data

Template-based implementation of ResourceManager, Loader, and Storer