added win32 resource handling and nsis installer