Create kclib2.php

OOP Version of KC PHP Lib