First working commit

at least on windows it works