Added profileManager class