added list html file and made tests pass with separaation of concerns