Changed search init methods to viewdidload instead of viewdidappear. Added AVFoundation for future video integration.