Moved camera setup to its own method.