Add protocol layer for Scan object
Merge branch 'rest' of github.com:rafaeljusto/shelter into rest