Added a basic console interface and hooked it into main.start()