Refactored view controller to implement CBCentralManager and CBPeripheralManager delegates to CentralManager and PeripheralManager classes.
Removed the delegate protocols from the view controller