Add avc

Copying base add-avc code to my repository.