added some directives to further dynamicism
initial stages of figuring out how to socket.io