separating views from ui

also add ScoreLine class