added scanner app
Added cmake for apps.
added main cmake file