Created almost working UI for creating and editing orders. Changed a lot
of the framework while making these changes.