Leveraging existing libraries to write a console application