added SudRegAPI class
simple test script