Refactor app structure, tasks, server/client side react and socket.io