Add variables to jshintrc
Prevent double connection
Rework the camera service