Added a simple console interface