add bash complete
various python code optimizations; shuffle I/O to shell classes
code style fixes
code style fixes
Merge pull request #9 from TerryHowe/master

add bash complete