Add simple leapmotion base controller
Improve code