Added order view and moved shared code into utils module.
Fixed method signature.
Merge branch 'order_view' into develop