Responding to code review comments

- Addressed indentation, module exports, and API endpoint
First pass at test suite for v1/orders API