SPDX Database API

This change includes all of the code for the API.