video controller refactor to 80 character width limit