First version, almost ok ... windows command line

Please do not use actually some more improvments are yet to come.