Add a console for reading objects from the command line

This is reasonably crude as I wrote it needing to use it now.