camera moved to own class