Saving new messages in DB with WS
Importing settings for ws