add simple demo main for command line test run