Sample application to learn commands