Moved template HTML for elements into class-level variables of view objects
Improved modularization of example device styles