Fixed deprecated methods
* Fixed deprecated methods
* Some modifications to support live camera input (not yet functional)
* Renamed variables for block support