added config for external camera. cleanup cam_test