TraceData

Adds all the needed TraceData to database support as well as the new why script with its interface.
Make sure to create the two needed tables in the database before running the code!