Extract camera into separate class