Move score before content
Tidy up code, add comments.
Add styles