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.
Looks good, thanks!