add a requirements.txt
readline up and down history
refactor history thanks to @chirs
add abbreviations (typo correction)