Refactored Camera factory to services.js file