database table creation pretty much finished.  main loop logic looks good.  Still have to finish the translating sourcing and scanning from java, which will take a little work