Add class ResourceManager

The ResourceManager class can handle loading resources, which
makes it easy to both make a preloader and later use the
resources in the application.