main.js: move stuffs around.
main.js: add POST /orders and GET /orders.