implemented order discount & repository
added a directive and tests
finished the test for the directive
resetting state to step 0