Added a console program for testing