Added more functionality to the console application