Connect to db.
Implement allocation delete.