moving html to views to reduce class lenth