1. Added index to help with inserts. 2. Loader now uses bulk insert and loops.