how to use vtnetcore in a commandline app