Changed API for frontend.

Created module API.
Changed config database.

Setting for connect product database.
Added auto update count notifications and list of the orders.
Added stopwatch elapsed time of ordering.
Fixed bug of not exists index food in list of the tables.
Deleted files with javascript. Code its in template.
Fixed bug failing link back to the menu.
Canceled last step of ordering.