Made camera a class.