added main.cc, which only create client object and run it