added Arc class and demo for it