Added readline functionality. Possibly broke everything.
Finished readline functionality.
Merge branch 'readline'