Fixed improper number casting warnings
Split Playfield's Entity/ViewModel associate code into smaller helpful functions