Performance Opimizations
Some changes

add an "initForDate" function for orders
change structuration
Add "Delivered" and "Undelivered" functionnalities for orders