Havelock Investments php API Class