added inline dependecy injection to Payment