Added commenting for "loadClass" function