adding more tests for the buy/checkout flow
adding config class
refactoring
adding checkout view