Changed the property loading to be done once, and then cached.
Added constant.properties file for things common to dev and production
so there is no more duplication.
Added and edited most logging commands, now using Trace to map every
step of the program.
Program doesn't run error in the IndexCalcs stuff.
Fixed the errors. Added a check on the root controller to see if the db
init thread is running before it tries to connect to the DB.
Fixed the indexcalcs insert using DbUtils (process is about 5 times
faster now!!)