brief refactor + new Leap Motion API added