Refactors socket io message sending
Updates submodules and gitignore