Added some additional functionality to the console application.