Improves CLI features

Renames functions so that they are consistent across TK and CLI.
Utilizes same methods for reading and writing to file. Simplifies menu
options. Removes calls to readline / pyreadline.