[Camera] - Creating objects instead of global functions to be consistent with the other parts of the app.