Refactoring to make it work on Windows.
Removed unnecesary files.