[ADD] OCLC.php as common functions class

[FIX] Various variable naming inconsistencies