moved html to views to have an MVC model