Added a simple console front end.