Nl replaced sync library

Replaced the sync-q library with my own synchronous queue library named - sink_q
Race conditions are fixed so users can call take picture without manually interleaving callbacks

Reviewed By: @johnnyman727