Added readline interface to example
Cleaned up virginian.h