backend logic complete
Merge pull request #19 from nastysloper/backend_order_logic

backend logic complete