ResourceManager class with getprofilepic()