Wrote socket io model layer
Merge branch 'socketmodel'