Refactored code to gain performance with indexes. Now using separated tables for different agencies. It allows to create tables, load data, and then create indexes