Added camera class to set offset