Sprint2.db api resources

Added functionality for resources in the db_api and added the rd_api and its functionality