Add sockets functionality to front-end.
(refactor) Integrate socket functionality with Angular front-end.