Add default constructor form IdentityManager and Keychain, change wscript, making library platform independent