database: Distribution insertion added.

The processing function for Breath and Distribution has been
combined. It is now `getRequirement`.