Start moving code to bb view
Totally rewrite code