creates a new camera with specified config