Several Changes

support for Windows, simple user and permission control interface