Convert OC_Appconfig to object interface
Implemented unittest for OC\AppConfig