Fixed reading of long and double values in the constant pool
Added function to load classes