fix: create separate setter method for setting dimensions of webcam
refactor: variables, new lines