Fixed getProfileInfo
Added two utility classses
Minor fixes
Moved test code to Test.java