rename functions and vars. add change camera direction
rename functions