Refactored cam capturing

Refactored cam capturing functionality by creating class for it.
Ignoring all .user files