Refactored REST service for payment, added REST service for order.