Scoring template
Working prototype, many bugs still left