Add Knock off and on gesture control

Change-Id: Ia5ab10b5e4a062918e1b8bfdf99cd19bfbfa63cf
Make it a standalone app

Change-Id: I30084a49eaa33c5a8a6a5bd334d2d6ba26d7bb48