move code form scoreboard.visualization package

closes #1