Working code with compartmentalized view files.