moving to unique_ptr

unique_ptrs in audio

added unique.h

moved unshared resources to unique_ptr