This is the first drop of the events db import

Also, the error code processing will be changed to exception handling based in a later update.
I think we should do something with STDERR here for error detection. I'm not sure what exactly - open to suggestions!