fixing numerous stuff and started working on BO
starting (really) wiring persistence