visucam: split cam operations to their own file