AVFoundations
Cleaned up code