Cleanup/Refactor: Removed Unused and Organized Imports. Replaced Hard…

Currently order states are directly strings, with irregular
capitalization.
In the future it might be better to just have this field store a byte
value, and to represent
it in the user interface we can have a map that gives us the right
representation, should also
be easier to internationalize the text this way as there'd be only one
place to maintain
the Corresponding English Names for the Order States.

Refactored get_order() method to get rid of unnecessary code repetition.
DRY principle.