More refactorings. The game is actually "playable" again but bugs still probably hide and more importantly it's slow so I'm trying to optimize for that (which might just be not having a background for now).