[sw] extract build repository to get build information
[sw] extract line chart service to draw the line chart