Added AbstractDemo to parse arguments