refactored, cleaned, removed ngrok init, remove socket init event