Refactored main result view to use DIVs instead of HTML tables