some refactor changes. (Review and pull if you want these. I'm just trying this out)

I tried to pull the graphical version of your nim game into my fork but got this error:
Git Pull Failed: fatal: Couldn't find remote ref origin/master