added camera registration to the class