implemented filesystem for windows
fixed compile warnings
added missing license