Code refactor

Working on post 1.8 code refactorings in the game views. WIP
- [ ] Modularize Gameboard view 
- [ ] Reorganize turn swapping code
- [ ] Move SVG functions into utility class