Ports some code and build instructions to windows