add simple websockets server and logger class