database driven order and delivery system