code reorg.

- migrated all redis db instances to 1 instance, 0
- refactoring: using switch instead of big if, else.
- using getoptlong package to organize command line options for scripts
- more documentation. rdoc.
- auto completion to include fund and etf tickers.
- separated auto completion generation from load scripts.