Fixed getProfileInfo
Added two utility classses