Add libdsm

Change-Id: Ie8a0a95034cf798ab5b001f248248bb47cbc4b34