implemented uri class and its test script