Add training contest database tools