Create BaskeyContract and refactor code to work. Basket transaction broken...