Scanner code

Added AVFoundation objects and scanning functionality