Separation of utility code
Added some function to the cam api