Interface update

Added new table to handle graph data. Check TrainingDB constructor.