Refactor CSS; Add score counter; fix flip bug