Merge pull request #1 from esben/master

Adapt to changed layer API
Enable XD commands support

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
WIP: show command

Signed-off-by: Esben Haabendal <esben@haabendal.dk>