Added twitter pages to webpages.json
Separated socket.io logic into own module
Added lib folder and organized code
Reconfigured code