With regards to the bond basis, here is how it works in a nutshell. Bond futures are physically settled at expiration (roughly). That means that when you are short a bond futures, you are required to deliver a bond at expiration.
The deliverable bond is selected from a basket of the eligible bonds that have the maturity within some window. Since these bonds might have somewhat different maturity, very different coupon and accrued interest (i.e. different dirty price), the exchange gives you a conversion factor for each bond. On the day when you deliver, you will get paid face value adjusted by that conversion factor.
That delivery happens some time in the future which means the person that gets it will forego some coupon interest over that period. On the other hand, he/she will not have to pay financing for owning that bond in a leveraged form. Most of the difference of the futures price and the current bond price (adjusted for the conversion factor) is due to the financing and coupon. There is also a little bit (these days negligible) value in the ability to pick the cheapest bond out of the deliverable basket.
In general, this implied value (financing, coupon and optionality) is expressed as "implied repo rate". Regular repo is the interest rate that you would pay/receive for a cash loan that uses a treasury bond as a collateral. By the same token, since you are able to "lend/borrow" the deliverable bond and buy it back, the implied rate can be backed out of the difference between bond price vs futures price and dividing it by the time to expiration.
It's not as glamorous as you think it is. In real life at the current level of interest rates the convexity embedded into the bond futures basis is negligible (it maximizes when rates are around the coupon of the theoretical bond which is 6%). Most of the trickery that goes in the basis today has to do with financing.