Adding resources registration system that is used by views so that they can load custom resources.