Working Console program; pending refactoring.