major update of Camera class.