Wrap all functions into document.ready.
Add new model definition for Order and Coupon.
Setup paypal in __init__.py.