Added simple autoloader - not used if you are using a PSR-0 based loaded.
@todo Make all code PSR-0 compliant.
Drop old style loader.
Move main static to correct location.
Defined missing CURL constant.
Added {} around single line statements for foreach()s and if()s - Simply looks odd without and error prone.
Whitespace formatting - I want to be able to read the code.
Added InvestoLink_ prefix to class names.
Resource is ApiResource
Big splurge on getting the classname prefixes all in place. {} added where missing for foreach() and if() (maybe more present). Some more whitespace.