csi current implementation

csi - main program
lib/dataout.rb - output module.. table, detailed, csv...
lib/db.rb      - db access layer
Merge branch 'master' of github.com:kaieu/csi