Fixed an issue with the windows explorer command and did some minor
refactoring.
Removed redundant files.