Added windows support and settings menu

First of all great idea ! 
I made a few changes to fit my needs and i thought i would share them: 
 * Windows support (it should work on linux too but i haven't test it)
 * Added the settings menu so the user can choose what to do if the repo already exists.