added wsa except, added wsa startup, added main try-catch
added initialization