Added camera view controller logic